{% extends "base_mobile.html" %}

{% block content %}

<h2>news</h2>
{% for post in object_list %}
<div class="content">
<h3>{{ post.title }}</h3>
<p>{{ post.date|date:"D d M Y" }}</p>
{% if post.get_image_url %}
<img src="{{ post.get_image_url }}" width="200" />
{% endif %}
{% autoescape off %}
{{ post.text }}
{% endautoescape %}
</div>
{% endfor %}
{% endblock %}